//
//  GPSInfoBaseView.h
//  Yihubang
//
//  Created by xmy on 2016/12/8.
//  Copyright © 2016年 xmy. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, GPSInfoBaseViewReckIndex)
{
    GPSInfoBaseViewReckRecordBefore = 0,
    GPSInfoBaseViewReckRecordAfter,
    GPSInfoBaseViewReckContractBefore,
    GPSInfoBaseViewReckContractAfter
};
@interface GPSInfoBaseView : UIView
@property (weak   ,nonatomic) IBOutlet UILabel *titleView_label;
@property (weak   ,nonatomic) IBOutlet UITableView *info_tableView;
@property (weak   ,nonatomic) IBOutlet NSLayoutConstraint *layoutConstraint_top;
@property (weak   ,nonatomic) IBOutlet NSLayoutConstraint *layoutConstraint_buttonLeft;
@property (assign ,nonatomic) GPSInfoBaseViewReckIndex index;
@property (strong ,nonatomic) NSMutableArray * dataSource;
@property (strong ,nonatomic) RACCommand *contractCommend;
@property (strong ,nonatomic) RACCommand *exChangeCommend;
-(void)viewResetWithType:(GPSInfoBaseViewReckIndex)index DataSource:(NSArray *)dataSource;
@end
